package com.situ.gym.mapper;

import com.situ.gym.pojo.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 角色权限 Mapper 接口
 * </p>
 *
 * @author Gao
 * @since 2025-09-01
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    List<Long> selectByRoleId(Integer roleId);

    void deleteByRoleId(Long roleId);
}
